package com.zzl.bonds.ticket.dto.feign;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * 合同
 *
 * @author gull
 * @date 2022-03-25 15:09:41
 */
@Data
@ApidocModel
@SuppressWarnings("javadoc")
public class TicketContractAddDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApidocModelProperty(description = "合同模板id集合,融资协议签署时必填，其他业务为空")
    private List<Integer> templateIdList;
    @NotBlank(message = "票据id不能为空")
    @ApidocModelProperty(description = "票据id")
    private String ticketId;
    @NotBlank(message = "合同类别不能为空")
    @ApidocModelProperty(description = "合同类别 开单复核：KDFH 转单复核:ZDFH 融资协议签署:RZXYQS")
    private String ticketType;


}
